package Thread;

import javax.swing.SwingWorker;

public class UserThread extends SwingWorker  {
    
    private User user;
    
    public UserThread(User u){
        user = u;
    }
    
    protected Object doInBackground(){
        user.run();
        return null;
    }
}
    

